package com.zmn.oms.persistence.interfaces.warn;

import com.zmn.oms.model.entity.warn.OrderWarn;
import com.zmn.oms.model.entity.warn.OrderWarnQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 类描述：订单预警信息持久化接口
 *
 * @author LiangHailong
 * @date 2019/07/29 14:57
 */
public interface OrderWarnDao {

    Integer insertOrderWarn(OrderWarn orderWarn);

    Integer updateOrderWarnById(OrderWarn orderWarn);

    List<OrderWarn> listOrderWarns(OrderWarnQuery orderWarnQuery);

    List<OrderWarn> listOrderWarnsByOuterWarnIds(@Param("outerWarnIdList")List<Long> outerWarnIds);
}
